package com.bjbn.tasks;

import com.bjbn.entity.BmsDeviceValueThsHis;
import com.bjbn.entity.BmsDeviceValueLxHis;
import com.bjbn.entity.EsDeviceValueThs;
import com.bjbn.entity.EsDeviceValueLx;
import com.bjbn.mapper.BmsDeviceValueThsHisMapper;
import com.bjbn.mapper.BmsDeviceValueLxHisMapper;
import com.bjbn.service.ElasticsearchService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Elasticsearch数据迁移定时任务
 */
@Slf4j
@Component
public class ElasticsearchDataMigrationTask {

    @Autowired
    private BmsDeviceValueThsHisMapper thsHisMapper;

    @Autowired
    private BmsDeviceValueLxHisMapper lxHisMapper;

    @Autowired
    private ElasticsearchService elasticsearchService;


} 